/*
 * BasicMotionState.h
 *
 *  Created on: Oct 2, 2009
 *      Author: Falken
 */

#include "btBulletDynamicsCommon.h"

#ifndef BASICMOTIONSTATE_H_
#define BASICMOTIONSTATE_H_

class BasicMotionState : public btMotionState{
private:
	btTransform worldTransform;

public:
	bool dirty;

	BasicMotionState(btTransform centerOfMassWorldTrans);
	virtual void	getWorldTransform(btTransform& worldTrans ) const;
	virtual void	setWorldTransform(const btTransform& worldTrans);
	virtual ~BasicMotionState();
};

#endif /* BASICMOTIONSTATE_H_ */
